namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 动态绑定 - 货位 与 SKU（胎胚）
    /// </summary>
    public DbSet<POWcsLocSku> WcsLocSkus { get; set; }
}

/// <summary>
/// 动态绑定 - 货位 与 SKU（胎胚）
/// 表[wcs_loc_sku]
/// </summary>
[Table("wcs_loc_sku")]
public class POWcsLocSku
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_loc_sku.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 货位
    /// [wcs_loc_sku.loc_id)]
    /// </summary>
    [Column("loc_id")]
    public long? LocId { get; set; }
    /// <summary>
    /// SKU
    /// [wcs_loc_sku.sku_id)]
    /// </summary>
    [Column("sku_id")]
    public long? SkuId { get; set; }
    /// <summary>
    /// SKU对应库位位置
    /// [wcs_loc_sku.sku_index)]
    /// </summary>
    [Column("sku_index")]
    public int? SkuIndex { get; set; }
    /// <summary>
    /// [wcs_loc_sku.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_loc_sku.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_loc_sku.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_loc_sku.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 备注
    /// [wcs_loc_sku.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
}
